package o;

import java.util.ArrayList;
import java.util.List;
import o.dnr.b;
import o.dnr.c;

public class dnt implements b {
    private c ˊ;
    private List<dnr> ˎ = new ArrayList();

    public static dnt ˊ() {
        return new dnt();
    }

    public void ˎ(c cVar, String str) {
        this.ˊ = cVar;
        dnr o_dnr = (dnr) dnn.ˋ(dnu.class);
        dnr o_dnr2 = (dnr) dnn.ˋ(dnz.class);
        dnr o_dnr3 = (dnr) dnn.ˋ(dnv.class);
        this.ˎ.clear();
        this.ˎ.add(o_dnr);
        this.ˎ.add(o_dnr2);
        this.ˎ.add(o_dnr3);
        for (dnr o_dnr4 : this.ˎ) {
            o_dnr4.ˏ(str, this);
        }
    }

    private String ˏ(List<dnr> list) {
        StringBuilder stringBuilder = new StringBuilder(256);
        if (list == null || list.size() == 0) {
            return stringBuilder.toString();
        }
        int size = list.size();
        int i = 0;
        for (dnr o_dnr : list) {
            i++;
            stringBuilder.append(o_dnr.ˋ()).append(":").append(o_dnr.ˎ());
            if (i < size) {
                stringBuilder.append("\n==============\n");
            }
        }
        return stringBuilder.toString();
    }

    public void ˎ(dnr o_dnr) {
        Logger.ˎ("LoggerMaker", o_dnr.ˋ() + " finish result : " + o_dnr.ॱ());
        for (dnr ॱ : this.ˎ) {
            if (!ॱ.ॱ()) {
                return;
            }
        }
        if (this.ˊ != null) {
            this.ˊ.ˎ(ˏ(this.ˎ));
        }
    }
}
